home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP...I can't fix it!!!!!!!!
- Date: 23 Feb 1996 11:07:53 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4gk769$1m2@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe8.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 23, 1996 05:31:58 in article <HELP...I can't fix it!!!!!!!!>,
- 'mellow1@usa.pipeline.com(tony honer)' wrote:
-
-
- >O.K. What I have is a program that is made with struct's, there are no
- >classes. This program works great when it is in one program. But when I
- >seperate my struct definitions into a header file, and my functions into a
-
- >adt file, and write a driver program that calls on the functions in the
- adt
- >file. IT DOES NOT WORK. It compiles like a dream, but when it goes to
- make
- >I get a:
- >
- >DUPLICATE &OSTREAM CHAR IN FILE @#%$@
- >DUPLICATE &OSTREAM NUMBER IN FILE @#%@
- >
- >ect,
- You have defined -- contrast with declared -- objects
- in your header file. If this doesn't help you figure out
- the solution, post a small sample of your header file
- that includes the definitions of some of the offending
- items, and someone will surely point out the errors of
- your ways :-)
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-